home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 109 / EnigmaAmiga109CD.iso / dalla rivista / amiga.free / diropus4.12b_gpl / dopus_disk / data.c next >
C/C++ Source or Header  |  2000-01-27  |  7KB  |  164 lines

  1. /*
  2.  
  3. Directory Opus 4
  4. Original GPL release version 4.12
  5. Copyright 1993-2000 Jonathan Potter
  6.  
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU General Public License
  9. as published by the Free Software Foundation; either version 2
  10. of the License, or (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. All users of Directory Opus 4 (including versions distributed
  22. under the GPL) are entitled to upgrade to the latest version of
  23. Directory Opus version 5 at a reduced price. Please see
  24. http://www.gpsoft.com.au for more information.
  25.  
  26. The release of Directory Opus 4 under the GPL in NO WAY affects
  27. the existing commercial status of Directory Opus 5.
  28.  
  29. */
  30.  
  31. #include "diskop.h"
  32.  
  33. char *version="$VER: DOpus_Disk 2.2 (20 Mar 93) Copyright © 1993 Jonathan Potter";
  34.  
  35. struct DOpusBase *DOpusBase;
  36. struct IntuitionBase *IntuitionBase;
  37. struct GfxBase *GfxBase;
  38. struct Library *IconBase;
  39.  
  40. ULONG BitTable[32]={
  41.     0xfffffffe,0xfffffffd,0xfffffffb,0xfffffff7,
  42.     0xffffffef,0xffffffdf,0xffffffbf,0xffffff7f,
  43.     0xfffffeff,0xfffffdff,0xfffffbff,0xfffff7ff,
  44.     0xffffefff,0xffffdfff,0xffffbfff,0xffff7fff,
  45.     0xfffeffff,0xfffdffff,0xfffbffff,0xfff7ffff,
  46.     0xffefffff,0xffdfffff,0xffbfffff,0xff7fffff,
  47.     0xfeffffff,0xfdffffff,0xfbffffff,0xf7ffffff,
  48.     0xefffffff,0xdfffffff,0xbfffffff,0x7fffffff};
  49.  
  50. USHORT
  51.     trashcanicon_1_data[]={
  52.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  53.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  54.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  55.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  56.         0x03ff,0xfff5,0x5500,0x0000,0x07ff,0xffff,0xaa80,0x0000,
  57.         0x0000,0x0000,0x0000,0x0000,0x03ff,0xff55,0x5400,0x0000,
  58.         0x03ff,0xffff,0xaa80,0x0000,0x038f,0xfc7d,0x4200,0x0000,
  59.         0x0317,0xf8be,0x8880,0x0000,0x0337,0xf9bf,0x9100,0x0000,
  60.         0x0313,0xf9bf,0x1000,0x0000,0x019b,0xf9be,0x9100,0x0000,
  61.         0x019b,0xf93f,0x1200,0x0000,0x019b,0xf9be,0x9100,0x0000,
  62.         0x019b,0xf93f,0x2200,0x0000,0x019b,0xf9be,0x2500,0x0000,
  63.         0x0189,0xf93f,0x2200,0x0000,0x01cd,0xf9be,0x2400,0x0000,
  64.         0x00c9,0xf93d,0x2a00,0x0000,0x00cd,0xf9be,0x4400,0x0000,
  65.         0x00c7,0xf9fe,0x4a00,0x0000,0x00e3,0xfe75,0x1400,0x0000,
  66.         0x007f,0xffea,0xa800,0x0000,0x0000,0x0000,0x0000,0x0000,
  67.         0x0000,0x0000,0x0000,0x0000,
  68.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  69.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  70.         0x0000,0x0000,0x0000,0x0000,0x0000,0x3fe0,0x0000,0x0000,
  71.         0x0000,0xe038,0x0000,0x0000,0x07ff,0xffff,0xffc0,0x0000,
  72.         0x0fff,0xffff,0xffe0,0x0000,0x1fff,0xffff,0xfff0,0x0000,
  73.         0x1fff,0xffff,0xfff0,0x0000,0x0fff,0xffff,0xffe0,0x0000,
  74.         0x0fff,0xffff,0xffe0,0x0000,0x0fff,0xffff,0xffe0,0x0000,
  75.         0x0fff,0xffff,0xffe0,0x0000,0x0fff,0xffff,0xffe0,0x0000,
  76.         0x0fff,0xffff,0xffe0,0x0000,0x07ff,0xffff,0xffe0,0x0000,
  77.         0x07ff,0xffff,0xffc0,0x0000,0x07ff,0xffff,0xffc0,0x0000,
  78.         0x07ff,0xffff,0xffc0,0x0000,0x07ff,0xffff,0xffc0,0x0000,
  79.         0x07ff,0xffff,0xffc0,0x0000,0x07ff,0xffff,0xffc0,0x0000,
  80.         0x03ff,0xffff,0xff80,0x0000,0x03ff,0xffff,0xff80,0x0000,
  81.         0x03ff,0xffff,0xff80,0x0000,0x03ff,0xffff,0xfff8,0x0000,
  82.         0x03ff,0xffff,0xffff,0xe000,0x01ff,0xffff,0xffff,0xe000,
  83.         0x000f,0xffff,0xfffc,0x0000},
  84.  
  85.     trashcanicon_2_data[]={
  86.         0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  87.         0x0003,0xffff,0x8000,0x0000,0x00fc,0x0000,0x7e00,0x0000,
  88.         0x0702,0xaaaa,0x81c0,0x0000,0x0855,0x6ab5,0x5420,0x0000,
  89.         0x02aa,0xaaaa,0xabc0,0x0000,0x00fd,0x5555,0x7e00,0x0000,
  90.         0x0003,0xffff,0x8000,0x0000,0x0000,0x0000,0x0000,0x0000,
  91.         0x0000,0x0000,0x0000,0x0000,0x03ff,0xff55,0x5400,0x0000,
  92.         0x03ff,0xffff,0xaa80,0x0000,0x038f,0xfc7d,0x4200,0x0000,
  93.         0x0317,0xf8be,0x8880,0x0000,0x0337,0xf9bf,0x9100,0x0000,
  94.         0x0313,0xf9bf,0x1000,0x0000,0x019b,0xf9be,0x9100,0x0000,
  95.         0x019b,0xf93f,0x1200,0x0000,0x019b,0xf9be,0x9100,0x0000,
  96.         0x019b,0xf93f,0x2200,0x0000,0x019b,0xf9be,0x2500,0x0000,
  97.         0x0189,0xf93f,0x2200,0x0000,0x01cd,0xf9be,0x2400,0x0000,
  98.         0x00c9,0xf93d,0x2a00,0x0000,0x00cd,0xf9be,0x4400,0x0000,
  99.         0x00c7,0xf9fe,0x4a00,0x0000,0x00e3,0xfe75,0x1400,0x0000,
  100.         0x007f,0xffea,0xa800,0x0000,0x0000,0x0000,0x0000,0x0000,
  101.         0x0000,0x0000,0x0000,0x0000,
  102.         0x0000,0x0000,0x0000,0x0000,0x0003,0xffff,0x8000,0x0000,
  103.         0x00ff,0xffff,0xfe00,0x0000,0x07ff,0xffff,0xffc0,0x0000,
  104.         0x0fff,0xffff,0xffe0,0x0000,0x1fff,0xffff,0xfff0,0x0000,
  105.         0x1fff,0xffff,0xfff0,0x0000,0x0fff,0xffff,0xffe0,0x0000,
  106.         0x00ff,0xffff,0xfe00,0x0000,0x0003,0xffff,0x8000,0x0000,
  107.         0x1fff,0xffff,0xfff0,0x0000,0x0fff,0xffff,0xffe0,0x0000,
  108.         0x0fff,0xffff,0xffe0,0x0000,0x0fff,0xffff,0xffe0,0x0000,
  109.         0x0fff,0xffff,0xffe0,0x0000,0x0fff,0xffff,0xffe0,0x0000,
  110.         0x0fff,0xffff,0xffe0,0x0000,0x07ff,0xffff,0xffe0,0x0000,
  111.         0x07ff,0xffff,0xffc0,0x0000,0x07ff,0xffff,0xffc0,0x0000,
  112.         0x07ff,0xffff,0xffc0,0x0000,0x07ff,0xffff,0xffc0,0x0000,
  113.         0x07ff,0xffff,0xffc0,0x0000,0x07ff,0xffff,0xffc0,0x0000,
  114.         0x03ff,0xffff,0xff80,0x0000,0x03ff,0xffff,0xff80,0x0000,
  115.         0x03ff,0xffff,0xff80,0x0000,0x03ff,0xffff,0xfff8,0x0000,
  116.         0x03ff,0xffff,0xffff,0xe000,0x01ff,0xffff,0xffff,0xe000,
  117.         0x000f,0xffff,0xfffc,0x0000};
  118.  
  119. struct Image
  120.     trashcanicon_1_image={
  121.         0,0,51,31,2,trashcanicon_1_data,3,0,NULL},
  122.     trashcanicon_2_image={
  123.         0,0,51,31,2,trashcanicon_2_data,3,0,NULL};
  124.  
  125. struct DrawerData
  126.     trashcanicon_drawer={
  127.         {50,50,400,100,255,255,0,0x240027f,
  128.             NULL,NULL,NULL,NULL,NULL,90,40,65535,65535,WBENCHSCREEN},
  129.         0,0,0,0};
  130.  
  131. struct DiskObject
  132.     trashcanicon_icon={
  133.         WB_DISKMAGIC,WB_DISKVERSION,
  134.         {NULL,0,0,51,31,
  135.             GFLG_GADGIMAGE|GFLG_GADGHIMAGE,
  136.             GACT_RELVERIFY|GACT_IMMEDIATE,
  137.             GTYP_BOOLGADGET,
  138.             (APTR)&trashcanicon_1_image,(APTR)&trashcanicon_2_image,
  139.             NULL,0,NULL,0,NULL},
  140.         WBGARBAGE,NULL,NULL,
  141.         NO_ICON_POSITION,NO_ICON_POSITION,&trashcanicon_drawer,NULL,0};
  142.  
  143. ULONG
  144.     bootblock_13[13]={
  145.         0x00000000,
  146.         0x00000000,
  147.         0x00000370,
  148.  
  149.         0x43fa0018,0x4eaeffa0,0x4a80670a,0x20402068,
  150.         0x00167000,0x4e7570ff,0x60fa646f,0x732e6c69,
  151.         0x62726172,0x79000000},
  152.  
  153.     bootblock_20[24]={
  154.         0x00000000,
  155.         0x00000000,
  156.         0x00000370,
  157.  
  158.         0x43fa003e,0x70254eae,0xfdd84a80,0x670c2240,
  159.         0x08e90006,0x00224eae,0xfe6243fa,0x00184eae,
  160.         0xffa04a80,0x670a2040,0x20680016,0x70004e75,
  161.         0x70ff4e75,0x646f732e,0x6c696272,0x61727900,
  162.         0x65787061,0x6e73696f,0x6e2e6c69,0x62726172,
  163.         0x79000000};
  164.